﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.SafeManage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.SafeManage
{
    public interface IPatrolpathService : ITransientService
    {
        object GetPatrolpath(PatrolpathForm form);
        Task<Response<bool>> PostAddPatrolpath(Patrolpath input);
        Task<Response<bool>> DeleteByIdAsync(Patrolpath input);
        Task<Response<bool>> PutUpdatePatrolpath(Patrolpath input);
    }

    public class PatrolpathForm
    {
        public int pageIndex { get; set; }

        public int pageSize { get; set; }

        public string name { get; set; }
    }
}
